package com.netposa.datawarehouse.aggregator.service;

import com.alibaba.fastjson.JSONObject;
import com.netposa.appwebres.extend.Page;
import com.netposa.datawarehouse.aggregator.search.ResourceParam;
import com.netposa.datawarehouse.aggregator.search.ResourceResult;
import com.netposa.datawarehouse.ftr.DataSearchClient;
import com.netposa.datawarehouse.ftr.core.SearchDataEntry;
import com.netposa.library.datawarehouse.aggregate.helper.ResourceDefined;
import java.util.List;
import java.util.Map;

public interface AggregatorService {
   List<SearchDataEntry> fullTextRetrieval(final String p0, final DataSearchClient p1);

   List<SearchDataEntry> queryDataByType(final ResourceDefined.ResourceType p0, final DataSearchClient p1);

   Page<Map<String, Object>> fullTextRetrievalWithAll(final JSONObject p0, final DataSearchClient p1);

   Integer fullTextCount(final JSONObject p0);

   List<ResourceResult> fetch(final Map<ResourceDefined.ResourceType, List<ResourceParam>> p0);

   Page<Map<String, Object>> selectAllInModules(final JSONObject p0);
}
